package com.zjtaixue.usersite.mapper;

import com.zjtaixue.usersite.domain.College;
import com.zjtaixue.usersite.query.CollegeQueryObject;

import java.util.List;

public interface CollegeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(College record);

    College selectByPrimaryKey(Integer id);

    College selectByCollegeName(String name);

    List<College> selectAll();

    int updateByPrimaryKey(College record);

    int queryCount(CollegeQueryObject qo);

    List<College> query(CollegeQueryObject qo);

}